package com.bawei.coroutine.http

import androidx.lifecycle.LiveData
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET(Const.BANNER_URL)
    suspend fun getBanners(): ApiResponse<List<BannerData>>


    @GET(Const.GOODS_URL)
    suspend fun getGoods(@Query("category_id") category_id:Int, @Query("currentPage") currentPage:Int, @Query("pageSize") pageSize:Int): ApiResponse<MutableList<Goods>>

}